<template>
  <div>
    <h2>BsIcon</h2>
    count: <button @click="updateCount">{{ count }}</button>
  </div>
</template>
<script setup>
import { inject } from 'vue';

const { count, updateCount } = inject('count');
</script>